package com.modifiertech.lineage.event;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraftforge.event.entity.player.PlayerEvent;

public class PlayerExpModifyEvent extends PlayerEvent {
    private long leftExp;

    public PlayerExpModifyEvent(EntityPlayer player, long leftExp) {
        super(player);
        this.leftExp=leftExp;
    }

    public long getLeftExp() {
        return leftExp;
    }

    public void setLeftExp(long leftExp) {
        this.leftExp = leftExp;
    }

    public static class Pre extends PlayerExpModifyEvent{
        public Pre(EntityPlayer player, long leftExp) {
            super(player, leftExp);
        }
    }

    public static class Post extends PlayerExpModifyEvent{
        public Post(EntityPlayer player, long leftExp) {
            super(player, leftExp);
        }
    }
    public static class PostErr extends PlayerExpModifyEvent{
        public PostErr(EntityPlayer player, long leftExp) {
            super(player, leftExp);
        }
    }

}
